package com.zenithmind.article.pojo.domain;

import com.zenithmind.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "分类实体", description = "分类实体")
public class Category extends BaseEntity {


    @Schema(description = "分类名称")
    private String name;


    @Schema(description = "分类描述")
    private String description;


    @Schema(description = "父分类ID")
    private String parentId;


    @Schema(description = "层级")
    private Integer level;


    @Schema(description = "排序")
    private Integer sort;


}
